add hook scripts