AGREEMENT AND AMENDMENT NO. 8 TO CREDIT AGREEMENT