first painful attempt at gz-compatible workflow