Amended and Restated GUARANTY AGREEMENT