Hooks

This was also only added for me to try out writing a hook script in Javascript and can be deleted