Fix sed to not leave .bak files
Add PDF export