CREDIT AGREEMENT dated as of July 17, 2001