add shell script, handle data file and checking