use the right environment variable