Modify get_mr_alt to accommodate input file structure