pdfdate wasn't working on from line 64 onwards, now it does.