cleand up config and plans