Fixed writeout again [nevermind]