Hopefully fix pdf generation on heroku