add swf2gif functionality