AMENDMENT NO. 2 AND LIMITED CONSENT TO CREDIT AGREEMENT