added env-config.py and documentation, bug gix