Update index.php

swap to using global footer too