added windows compatibility for paths