TERM LOAN AGREEMENT dated as of October 22, 1996