add key generation to setup script