fixed ROOT_DIR bug, the environment variables need all to be uppercase