Externalized swf config and added a setup script