extract to configure