add ps version checker