Add support for overriding the bus type using environment variable