Add a script for getting remote hostnames.