Added resolution switches.