main func
swfhacks