Added in destinationinfo, a trap for ctrl-c, and loop functionality