Fixes for qsub