added support for .gif