SCOR MDZ R scripts