EOF and report cleanup