lib/pwm now generates overlays by formatting in loop