Updating WinHPC script, old version was not working with new updates