version command: make it scriptable