Replace backslash with forward slash in script block.