allow data type to be specified as uint8 or uint16 on command line