Added a resolution option in config