automate FlexPhraser commands

Hi!
I would like to automate some FlexPhraser commands for a miditrack in Cubase 6 but I can’t find the way to do it.
During the song I would like FlexPh be switched to and from active at different times and also I need to change the Phrase selected. How can I do this?

/Tommy