Your replacements are either working with the undefined Mac_Data or with the original Mac_Templ rather than you modifying the string produced by the previous replacement.

user_input_stage = input('Enter correct Stage: ');

The user would have to know to enter quote marks around the text they input. I would suggest that using the 's' option to input() would make sense. Or using inputdlg() to ask all three questions at once.