update the run analysis script