Here's how to use minc_modify_header to change information in the header of the minc file: $>> minc_modify_header -sinsert patient:full_name="$PI-$STUDY-$ID_NUMBER" \ -sinsert dicom_0x0010:el_0x0010="$PI-$STUDY-$ID_NUMBER" \ $MINC_SCAN