code: function(r, callback) {
        result = r || {};
  
        RunUtil.displayScriptData(grunt, result);
        RunUtil.displayScriptOutput(grunt, outputs, result);
  
        try {
          RunUtil.checkRunScriptResult(result, method);
        } catch(e) {
          CommonUtil.header(grunt, 'VALIDATION:', 'red');
          grunt.fail.fatal(e);
        }
        callback();
      }
docs: validation and output