added pdf support for reports