CommandScript: not identifying EXIT CODE