Fixed test for Change command.
Simplified makeOptv
Simplified parseOptv
Extracted run by batch in a function