In Terminate: get track source based on output (Diego)