Finally got the hooks working!