bind to environment variable