Fixed getps batch example