fixed ps1_list, added ps1_shortname and -p option for ps1_longname