replace a couple drupal constants