Exhibit 10.7 AMENDED AND RESTATED CREDIT AGREEMENT