Create sg_hooks.lua