Added references and Write-Host for testing