Renamed 'stats' parameter to 'compute-stats' for scan command