got env working...
tidy
macro env mechanism in place but unused
macros can leave scope