Finished the macros for converting to mnras format automatically.