Adding print statements to determine whether or not commands are received.