Updated python script, added test PowerShell script