remade the cleaup stuff in ant