Exhibit D AMENDED AND RESTATED CREDIT AGREEMENT