update convert script and add samples
update convert script and add samples