Update RebuildViaHook to use :hook trigger