Use flags instead of env variables.