Added script to process queue