AMENDMENT NO. 5 TO CREDIT AGREEMENT AND CONSENT TO ACQUISITION