support --version flag