I don't get what you're trying to do. If you're trying to edit which menu file gets shown to players, just do it through script. If you're trying to...
The correct flag would be .archived, instead of .archive. Not sure about the default, but judging by your results it might be set to true by default...