Automater script for pages -> pdf

Anyone able to point to an updated automater script (or AppleScript) to batch convert Pages documents to PDF?

[I have two I have used previously that do not work with High Sierra]