Altered the method for setting up default pages and settings