update code to support RStudio Server cloudapp for windows