make gifs of actiavtion programmatically