EXHIBIT 10(d) TERM LOAN AGREEMENT dated as of July 15, 1999