test common ps script