Updating for heroku deployment