Modified script to extract cell queuing times