gatherflat/tree call alternative scripts if they exist.