some chacks to commandline arguments and made reportFormat and reportPath optional
reportFormat check moved to processCLI function