removing diagnostic plots from milr-source to put in separate script