add flag support to opt out of processing tasks