now with config support