change some file's position. introduce variable use_zmq.