allow both config and cli options.