check for qstat and qselect before execution