Make most options overrideable with environment variables