Added md5 calculation