add support for overriding config