add tidy datafile, fix bugs with wrong data names in script