Adding hook to delete_zone function