Pages added and layout code changed