Moved utility purge_queue to util.sh