Some changes for good deploying for heroku