working on docs and adding ENV support