AMENDMENT NO. 8 TO CREDIT AGREEMENT