restored -v flag for version