Changes to icx, added passphrase function