Fix to allow Powershell as an alternate shell for cmd.script() and cmd.run()