Location of DoMC() and change number of cores to autodetect