fixed getopt support + support for more than 1 url per command