substituted direct path of Rscript for env var