Add embedded mode