Fixed script so it works for Drupal again