make it work on the remote host