Added this line and the following few to allow some pages to load up and work as expected