Added useResize and useRoi to run method