Added MD5 checking