Added runModel and viewOutput arguments