EXHIBIT 10.04 THIRD AMENDED AND RESTATED CREDIT AGREEMENT