Added replace support for scenes by pointer