edits to Run.R