Added handling of multiple urls