Thanks to P. Basso and C. Confetti for the macros.