run-hooks -> run-mode-hooks