Make post hooks work

Signed-off-by: Hector Acosta <hector.acosta@gmail.com>