Set Slice nodes for volumes

I have all three slice nodes(red, green, and yellow) in the scene. When I load a volume I just want to get the 2d view in red and green slices. Then I want the 2d view of another volume in yellow slice keeping the previous volume in the red and green slices untouched.

Here is a link with examples related to manipulating volumes into slice viewers.
https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Show_a_volume_in_slice_views