modification to allow for multiple urls