simplified config, either from env or cli