updated bin files to work with heroku