adds diagram images for pm and ppm