Making some changes to pages index