update replace step to use powershell