update infos
add test.sh
add argv warning
fix dat tree
make sure it's not empty