Update to 9.x compatibility

Hi,

I needed a migration package and saw that none was updated to work with 0.9+ yet (at least none that I could find).

So I gave this a quick overhaul. I can't guarantee nothing, and the command line script definitely won't work as described I think.

Please have a look and I'm looking forward to feedback as well.