EXECUTION VERSION AMENDED AND RESTATED TRUST AGREEMENT dated as of April 29, 2004