Tweak ps functions a bit