Custom drupal Code From Sparx