made necessary changes for heroku