added -url switch