setup for keyval config