MASTER AGREEMENT dated as of November 5, 2007