hooks run in their own process; few more functions exported