Line numbers, error handling, and sending actually works