Fixes up the index page