seperate scripts for local and on remote server(heroku)