Index: /trunk/Ohana/src/shell/src/gosexphot
===================================================================
--- /trunk/Ohana/src/shell/src/gosexphot	(revision 2626)
+++ /trunk/Ohana/src/shell/src/gosexphot	(revision 2627)
@@ -11,16 +11,22 @@
 set outfile = $2
 
-set name="gosexphot.sex"
+# find the appropriate script file
+set confdir=`gconfig CONFDIR`
+
+set name = "gosexphot.sex"
+set param = "gosexphot.param"
+
 if ($#argv == 3) then
     if ("$3" == "-shallow") then
-        set name="gosexshallow.sex"
+        set name  = "gosexshallow.sex"
+    endif
+    if ("$3" == "-stds") then
+        set name  = "gosexstds.sex"
+	set param = "gosexstds.param"
     endif
     if ("$3" == "-deep") then
-        set name="gosexdeep.sex"
+        set name  = "gosexdeep.sex"
     endif
 endif
-
-# find the appropriate script file
-set confdir=`gconfig CONFDIR`
 
 # sextractor needs full paths to:
