change the run_from_scratch script