Added preferences option for the number of concurrent processes for batch mode