Moving index to PHP file to get Heroku PHP behaviour