split "is_external" into "is_external" and "target"