Change in Q matrix submission script