adding back output to file - cross talk was f***ing with me all this time
tweaks