finishing index ready for heroku