Fix for Windows (currently doesn't work)

had to replace all back slashes to forward slashes explicitly since path.join() uses path.sep as the separator