updated mran_metadata.R script