Added flag support for new