added the communication script
synced with latest version