added option for gifs