add ability to write environment properties