add env var to get num of cpus