replace the background and foreground with the reference keep all colors and geometry exactly the same including the roof