Added try except to check for existing URL