remove write-host lines