added prepare message to go agent