Making generateReports directory optional