edited questions index so it would work on heroku