TERM LOAN AGREEMENT Dated as of October 17, 2002