added write-host to init section