modified parallel command, clean up
split map and reduce source, permutations is broken