More debugging

writing to host for debugging