Function: sh-modify

Modify a copy of SKELETON by replacing I1 with REPL1, I2 with REPL2 ...