Updating nonce to work on multiple servers (fixes #4)