Intermediate commit, trying to unite the two powershell scripts.