Update powershell script + minor edit