Fixes running swf from any folder