adjust to new distinction btw. running TA and exported code