Tweak purge script