modified:   sdimg.pl