switch to embedded templates