working build

It's not fully tested yet, most want this as a backup.