Added support for run to cursor