add mode parameter to stageRunner
provide a default option
this should be a string
fixes to mode parametr
use default mode
Merge pull request #10 from robertzk/mode_parameter

add mode parameter to stageRunner