Change the python sender and receive code as well.