debug qsub writing