Modified relay to print out after each send/rec