added MD5 sanity check