change number of cores to use from facter