dist task generation