added hook_info with global cache
added hook_info with global cache