At the end of these scripts, you should call: ${GLOBUS_LOCATION}/etc/user-env.{sh,csh} respectively. That way if there is already a globus env setup, this will reset everything to the desired locations (GLOBUS_PATH, SHLIB_PATH, etc).