Added md5 check. Closes #19.