# replace search paths with data in hash per key, # $oldSearchPaths and %searchPaths are initialized elsewhere