 
   end = ->
     finished = true
-    console.timeEnd 'Multi Process Scan'
+    console.timeEnd 'Multi Process Search'
     console.log "#{resultCount} matches in #{pathCount} files"
 
 buildRegex = (pattern) ->

      searches--
      console.log "search end #{searches}" if options.verbose
    else if line and line.length
      try
        results = JSON.parse(line)
      catch e
        console.log "AHH", e
      if results
        pathCount++
        resultCount += results.results.length

  scanTask = makeTask(multiProcessScan)
  searchTask = makeTask(multiProcessSearch)

  console.time 'Multi Process Search'

  searches = 0
  finished = false
