modify node.js script to be run from Heroku scheduler - changes to path and env