Move key creation until after installation.