scan task generation; refactor cli task generator; refactor merge operator