allow usercode, and fix Drupal constant