change for mathematica according latest protocol
introduce mathematica RPC