runHooks