made new model based variability analysis script