* fixed redirect order to catch STDOUT
 * added execute perm to shell script
 * added checking of QBATCH_QUEUE environment variable
 * removed unused -type option