pass options to config