Well, one thing I see is that you save the score file using the -i switch, but you load it without the -i switch. That could be why your score file appears to get trashed.