now actually uses COMMONFLAGS