added support for Heroku scheduler