hook script updated