Exhibit 10.5 AMENDED AND RESTATED MASTER LEASE AGREEMENT Dated as of June 26, 2003