AMENDMENT NO. 10 TO CREDIT AGREEMENT