Added user specified device resolution