Export function for PDF included