added support for multiple URLs