adding statics param, adding support for windows