Exhibit 10.4 CREDIT AGREEMENT dated as of April 21, 1998