Remove duplication
Update PDF metadata

- Trailing white space removal
Add script to generate the PDF