Added gif, error handling, ability to continue numbering from an existing file