Use register_key from config