FIRST AMENDMENT, WAIVER AND CONSENT TO CREDIT AGREEMENT Dated as of December 23, 2004