changed filename to ES_SDM_prep.R