messy work-in-progress for redoing app target building