added hook scripts