Set line buffering to help the program work with scripts