AMENDMENT NO. 4, WAIVER AND CONSENT