basic scripts for height.txt from lastheight classification