seperat file and function to call transcode script