added xml_template directory environmental variable GREENS_CODE_XML