Inc version. temp files are now deleted at the proper spot