Additional work to the postdestroy hook