Fixed parallelisation (hopefully)