prepare for iframe integration