zip version of dist_init