Added pubkey import and bin export
Made return work