fixed a couple problems

* made it so output files go into subdirectory of working folder
* fixed problem where pstselect prompted the user for input, not good when
running on a server