scripts and plots to analyze PAC