modified run() so that completion hints arrays are passed through the module's options, to be easier to override