changed the scope of the CommandOptions