Added a cmd line option for resolution