adds support for runOpts of array type