Initial set up of the index page.