make more options controllable using environment variables