Page Preparation (Front end work)