-bugfixes
-added environ table