[enh] add a convertion script