refactor config mode
windows runner