Made some changes to key generation. Try em yourself.