made changes so multiple platform (win and linux)