how to run scripts on multiple remote hosts