Updated ps1 script.