make driver configurable by environment variable