It works now
-Added nonce support
-Fixed a spelling error