Updated run.analysis.R file