EXHIBIT 10.12 AMENDED AND RESTATED CREDIT AGREEMENT Dated as of August 31, 2001