added a way of getting the api version from the command-line