Add code to check for keys, delete keys and backup keys.