AMENDED AND RESTATED CREDIT AGREEMENT Dated as of August 26, 1997,