updated index.php for heroku