more general
move drupal.py for more general usage
steal the setpath I made elsewhere