changed to forloop in script and functional enable-vs-disable
$IsFalse