Fix scripts for communication