configuration migration + cleanup