Add hook script.