add support for extra configs