changed to send <shortname> to server
updated debug method