added support for windows