Added fix for when Drupal wasn't already configured.