Bugfix: generate PDF on heroku