Don't fill in the index in Internal.Instance, was unused
Avoid using deprecated module System.Cmd