A script to connect to a server