TERM LOAN AMENDMENT AGREEMENT