debug converter script