flagplus: add global flags