added support to work with Windows