Adding code to account for both old and new versions of transcript module.