Removed renaming of "name" parameter, so a name can be passed to the
header for each subimage.