Added stuff for making animated GIFs