Added switch for WhatIf