added PYTHONUNBUFFERED environment variable