adds support for passign env vars