Add universal new line mode in populate_roi.py