Add the build id and iterate over the hash.
Use refs instead of vars for revisions.