fixed create_run_script