modified run method to allow cukeforker to work with jruby