Updating script to work with PDFpenPro 6

I wanted to learn how to update the repository so I started from my
original script and then updated with simple application change to
PDFpenPro 6