add environment parsing
new version