Add the hook scripts