had to replace all backslashes to forward slashes explicitly since path.join() uses path.sep as the separator (didn't work on windows)