PDF export works now