clean and purge commands