check for not true and echo instead of write-host