Deploy before hook