fix #220: support for environment variable based configuration