setting up page attributes