Added support for feedback from rscripts and running commands from rscripts