edit hook.sh