Improved the parallel calling routines