transcode shell script