Fix hook.sh