Changes so the page works via both http and https