I am bad at things, but now write to fd equals 1 actually works