It now is possible to access global variables, using environment[varname], and to set global variable using environment[varname] = "value"