added portalkey and manaring usage