protected function _runStructureOrDataScripts($toUpdate, array $needsUpdate, $type)
{
$output = $this->_output;
$output->writeln('The next ' . $type . ' update to run is <info>' . $toUpdate . '</info>');
$this->getHelper('dialog')->askAndValidate($output, '<question>Press Enter to Run this update: </question>');
$start = microtime(true);
$this->_runNamedSetupResource($toUpdate, $needsUpdate, $type);
$time_ran = microtime(true) - $start;
$output->writeln('');
$output->writeln(ucwords($type) . ' update <info>' . $toUpdate . '</info> complete.');
$output->writeln('Ran in ' . floor($time_ran * 1000) . 'ms');
}