add support for inches mercury, and more flags in utility