add support for windows
syntaxes changes