add sha1 check to csdtool