Prefer flags to environment variables.