AMENDMENT NUMBER 7 TO CREDIT AGREEMENT