Add before hook to modify all the thing