purge script