Added automatic report generation