swf setup