updated flags
do not invoke ConfigGet twice, update SetHexMode