Added support for multi-level urls