external script collecting invironment variables