Added more sudo logic to practice.ps1 stub