WAIVER AGREEMENT AND SIXTH AMENDMENT TO CREDIT AGREEMENT