updated convertstr.pl formatting