Host connection script.