pssm integration, fixes, corrections
Pssm: minor simplification