only create output dir if there are scans