add --version support