Fixed indantation in hooks.lua.