EXHIBIT 10.5 REVOLVING CREDIT AND TERM LOAN AGREEMENT