Output now works as it should. Yay.