Added a flag that allows users to turn off multiprocessing if it causes problems