add purge command