Add embedded detection