Exhibit 10.5 CREDIT AND SECURITY AGREEMENT Dated as of July 18, 1997