improve gen_redirect.drush.inc