Converted pages to work with MasterPage.