Main cleanup