optimization to bootstrapper.ps1