Configure alternate port numbers for SGE cluster using environment vars?

I’m trying to configure UGE and OOD on our production system and having trouble with overriding the port numbers that are being attempted by OOD.
my /etc/services file contains default port numbers:

 sge_qmaster     6444/tcp  sge-qmaster   # Grid Engine Qmaster Service
 sge_qmaster     6444/udp  sge-qmaster   # Grid Engine Qmaster Service
 sge_execd       6445/tcp  sge-execd     # Grid Engine Execution Service
 sge_execd       6445/udp  sge-execd     # Grid Engine Execution Service

but we actually use environment settings which are sourced by /etc/profile.d/sge.sh:

SGE_CELL=default; export SGE_CELL
SGE_CLUSTER_NAME=p6464; export SGE_CLUSTER_NAME
SGE_QMASTER_PORT=6464; export SGE_QMASTER_PORT
SGE_EXECD_PORT=6465; export SGE_EXECD_PORT

Can I get OOD to use these settings instead? The only way that I’ve found so far is to edit /etc/services, which i don’t want to do, and also doesn’t allow me to access multiple schedulers running on different ports.