Added support for gif