support handlebars helper generation in background jobs
work around missing PDF files in PI import
handle missing PI dates