changed localhost to server hostname for sname
Changed presence to genserver structure