changed $Rfolder/Rscript to Rscript