Nice little tool to reduce .pdf filesize in multipage XSane scans

Multipage XSane Scanning works nicely but after five or so pages the filesize exceeds desirable file attachment size.
This little tool shrinks the .pdf to reasonable proportions : GitHub - aklomp/shrinkpdf: Shrink PDF files with Ghostscript
N.B. I currently use the simpler version which you can find here : Shrinkpdf