Ok, the code looks fine, I can only assume it’s something to do with those binds you have going on.
Try using keyboard strokes to trigger the save and load like this:
Remember to set ‘auto receive input’ to player 0 in the class defaults details.