Some tiny changes for first-timers and a heroku env var

Hey, thanks for sharing your script - I got it working.  Much appreciated.

This pull request contains a couple of gotchas I hit while trying your script out.  Hope they are acceptable.

I also found I needed to add an environment variable before the 'update' job would run correctly via `heroku run`.