changed the interface of SetEnvironmentVariableEBA