PDF and XML Reports Working Version