add nice ps1 snippet