de-initialized win scripts, must refactor