adds -v flag to print version number