More attempts to get pdfs working on production