Added pig local version of named and entities