Added importing and exporting keys