fixed #155: added --version option