code for automating constructions of bioclim models