added baseURLs method that accepts a sequence of URLs which is more convenient for passing base URLs programmatically.

For example: a list of base URLs passed by a system property outside of
the script.