SECOND amendment to credit AGREEMENT AND WAIVER