When we run a workflow on a remote host, we do not know what to do with local definitions. I think we should 1. Send `CONFIG` to remote host. 2. Change `localhost` to the name of remote host, so that it can use the host definitions that is defined locally.