Executing wscript to perform the portable update in windows.
Refactor and cleanup.