fix all of the pdf processing scripts