A script to purge old slugs from a datastore