AMENDMENT NO. 3 TO CREDIT AGREEMENT AND