Defining setup_transport, fixing a few typos