moved menuxml into activation function