update the build_ssh_gateway script to load servicepack environment