first version for the track id matching scripts