add script to batch encode series of images