add ps option
Merge pull request #2 from yifan-gu/ps_option

add ps option