got automatic deletion of images working, including adjusting the framerate of anim.gif accordingly. Next, want to properly handle command line flags as well as add another flag for frames per second