    cat <<EOF
 @@ -148,16 +167,12 @@
  Usage: $command [options] <command>
-
+ 
  $command gzip *.img *.hdr
 -$command -q short.q gzip *.img *.hdr
  $command -a darwin regscript rawdata outputdir ...
-
+ 
    -T <minutes>          Estimated job length in minutes, used to auto-set queue name
 -  -q <queuename>        Possible values for <queuename> are "verylong.q", "long.q" 
 -                        and "short.q". See below for details
 -                        Default is "long.q".
 -  -a <arch-name>        Architecture [e.g., darwin or lx24-amd64]
 +  -a <arch-name>        Architecture [e.g., darwin (not Legion) or lx24-amd64]
-   -p <job-priority>     Lower priority [0:-1024] default = 0
+   -p <job-priority>     Lower priority [0:-1024] default = 0                 
 -  -M <email-address>    Who to email, default = `whoami`@fmrib.ox.ac.uk 
 +  -M <email-address>    Who to email, default = `whoami`@ucl.ac.uk 
    -j <jid>              Place a hold on this task until job jid has completed
    -t <filename>         Specify a task file of commands to execute in parallel
    -N <jobname>          Specify jobname as it will appear on queue
-@@ -165,25 +180,11 @@
+@@ -166,25 +181,11 @@
    -m <mailoptions>      Change the SGE mail options, see qsub for details
    -z <output>           If <output> image or file already exists, do nothing and exit
    -F                    Use flags embedded in scripts to set SGE queuing options

+                        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

+###########################################################################
 # Don't change the following (but keep scrolling down!)
 ###########################################################################
 
@@ -139,6 +156,8 @@
 export POSIXLY_CORRECT
 command=`basename $0`
 
+##### Modified for Legion to remove reference to queues etc.
+#
 usage ()
