Added ability to change camera resolution