AMENDMENT NO. 5 TO CREDIT AGREEMENT