THIRD AMENDED AND RESTATED CREDIT AGREEMENT Dated as of June 30, 1997