adding .gif support