added support for NsFlash and PowerShellExec