add swf tasks