refactor drupal