TERM LOAN AGREEMENT Dated as of October 11, 2007