purge script functionality now integrated in check script