MASTER ASSIGNMENT, AGREEMENT AND AMENDMENT NO. 5 TO CREDIT AGREEMENT