updated installAndRun.R