AMENDMENT NO. 3 TO THE TERM LOAN AGREEMENT