Fix hook.run not executing

However, problem still exists