Fix ps1 lines