add a validator script to the repo
[fix #49]