Rename _run_hook to run_script