Small changes that seem to work on my Mac. PDFtk has to be installed and on your PATH