Just get the Key item from the config, no need to store it... Give the key on entry as well, not just on exit.