Windows OS integration

Since you are using "path" dependency, there is two differents kind of "path delimiter" : "\\" on Windows environment or "/" for posix environment.
So your script didn't work on Windows based system. (with '\\' delimiter)