restored the configf cleanup, with workaround for ext.scm