Added more win-specific staging script code.