cleanup + mcs cumulation issue + file append mode