added --version switch.