Modified to cleanly handle "UnkownHostException"
Modified to start elements with a slash and index from the number 1