---- bin/fsl_sub-dist    2016-01-19 14:40:58.000000000 +0000
-+++ bin/fsl_sub 2016-01-19 16:55:24.000000000 +0000
+--- fsl_sub.bak	2018-06-06 15:02:10.000000000 +0100
++++ fsl_sub	2018-06-06 15:09:27.000000000 +0100
 @@ -11,6 +11,8 @@
  #   Imaging of the Brain), Department of Clinical Neurology, Oxford
  #   University, Oxford, UK
- #
+ #   
 +#   Modified for use on UCL Legion OS upgrade - January 2015 by BAA  
 +#   
- #
+ #   
  #   LICENCE
- #
+ #   
 @@ -125,12 +127,27 @@
      else
-        queue=verylong.q
+ 	queue=verylong.q
      fi
 -    queueCmd=" -q $queue " 
 +
 +    # No user queues on Legion
 +    queueCmd="" 
-
+ 
      #echo "Estimated time was $1 mins: queue name is $queue"
  }
-
+ 
  ###########################################################################
 +# 
 +#   Convert FSL runtimne in minutes to h_rt=hrs:mins:secs for Legion

+                        smp for Legion.
                         <threads> specifies the number of threads to run
   -v                    Verbose mode.

-Queues:
-
-There are several batch queues configured on the cluster, each with defined CPU

 model=2
 gflag=0
 nocuda=0
+wallclock=15	# Added for Legion
 other=""
 
 shift
@@ -180,6 +185,7 @@
       -b) burnin=$2;shift;;
