transmit & receive scripts