before & after pdf generation action hooks