add ability to write environment properties

analogy is dangerous in programming. I suppose I may need a method to look all current environment. @pupssman how do you think?