lua scripts for peeking queues and deleting