SEVENTH AMENDMENT TO CREDIT AGREEMENT