rootDir replaced to os.environ['NUPIC']