Modified script to extract cell queue times