Do before hook at once