change psseparse to psseproc and clean up compile errors