ReportExporterLocal reportExporter = createReportExporter();
reportExporter.exportReports(
createAuthenticator().getOAuth2Credential(null, mccAccountId, false),
mccAccountId, cmdLine.getOptionValue("startDate"),
cmdLine.getOptionValue("endDate"),
processor.retrieveAccountIds(null, mccAccountId),
properties, htmlTemplateFile,
outputDirectory, sumAdExtensions);
} else if (cmdLine.hasOption("startDate") && cmdLine.hasOption("endDate")) {
// Generate Reports