Removed multiple cache sets and did a test for windows for temp dir output