Fix key generation on install.
Add our own autosave handling script.