Exhibit 10.47 AMENDED AND RESTATED CREDIT AGREEMENT dated as of October 24, 2002