edited the run_script