Changed how I register menuCommand

Using SpecFlow as an example