Added Code to locate MasterTemplate