quality is now a env variable