WAIVER AND FIRST AMENDMENT AGREEMENT