added joel wellings environment variable for setting num of cores