Script to build PDF with additional parameters (e.g. set title).