Adding support for automatic display configuration