Refactor drush command to use SiteFactory