Use env to run Rscript instead of calling it directly.