Bugfixes and PFMET handling in results scripts