Added Hooks.js