Your On Open event will not work is it does not have the matched text part.
The format is-> On :OPEN:?:: {
See /help on open