Modifying original page to fit as template