Main program transforms gifs automatically