script now checks for not unique lines