AMENDED AND RESTATED MASTER LEASE AGREEMENT, dated as of October 1, 2006, by and among