added pdf output for reports