script to convert Phatr number to transcript