First attempt at supporting string flag