write envrironment to file
Merge branch 'write_environment' into ha_testing