scripts to check line fields