Create and fix remoteServer and server commands.