add gif support