CREDIT AGREEMENT dated as of May 21, 1997