beginnings of OTT parsing script