script that splits urls from table