add SPHOME environment variable