Thanks that makes it shorter, I even can skip the `hook_path` variable