Added content wrapper code for content injection