add ability to write environment properties
Merge pull request #1 from sergeychipiga/feature/add-environment

add ability to write environment properties