Add opticall to tped conversion script