Added md5 checking