Repace \ by / in script directories references