Adding a command line option to specify max number of processes used during scanning.