Rearranged pages so main page opens first