adding support for -whatif