AMENDED AND RESTATED MASTER LEASE AGREEMENT dated as of March 10, 2004