install-hook.sh automation script