Added server key gen