Hooks

- Updated documentation and style of example hook scripts.