Fixed some aspects of the correlations workflow script to allow the parallelization to work properly.