Tweaks to the run_parallel function in __init__