updated WriteScenario() to use working Rscript.exe on Windows and only write launchApp.* specific to platform (*.bat for Windows and *.command for Mac)