EXHIBIT 10.5 AMENDED AND RESTATED CREDIT AGREEMENT dated as of April 19, 2001