Added hooks for loading MetaHub scripts.