added version option to CLI.