Fixed key bug in Heroku script