added BuildMD5 for md5 sum generation