work in progress on removing configuration (-d option)