making changes to get teh application working on windows