Added checking options for gifs (cloned module)