Implement generic qsub command