tidying up after getting it working on heroku.