Modifications to support running the powershell script from the deploy folder