Fleshing out  activateCommands method.