Flash cleanup