change environment variable SWITCH_HOME to TREMA_HOME