improve the drush and batch process