cleanup main python cfgs