Added some new customization variables and allowed rescaling of animated gifs