fixed script to actually check checksums