  
  #condor bin location
 -condor_binpath=/opt/condor-c/bin
-+condor_binpath=`which condor_submit|sed 's|/[^/]*$||'`
++condor_binpath=`which condor_submit 2>/dev/null|sed 's|/[^/]*$||'`
  
  #Registry file location
  job_registry=

 
 #Path where PBS executables are located 
-pbs_binpath=/usr/pbs/bin
+pbs_binpath=`which qsub|sed 's|/[^/]*$||'`
 
 #Path where the PBS logs are located ($pbs_spoolpath/server_logs)
-pbs_spoolpath=/usr/spool/PBS

 
 #Path where LSF executables are located 
-lsf_binpath=/usr/local/lsf/bin
+lsf_binpath=`which bsub 2>/dev/null|sed 's|/[^/]*$||'`
 
 #Path where the LSF conf file is located ($lsf_confpath/lsf.conf)
 lsf_confpath=/etc
