added automatic display configuration