PDF export is working