Added std output to the program.