Preparing to load and save keys