Modified Stochoptim to use Rscript from Env.