add a detection for outDir and if not set don't write any reports