~oopsed the X_env logic, switched so not set if not running X