Autogenerate keys if they're not around