working on getting system directory depending upon platform