Yes, I refactored to use drush_invoke_process().