Modified GetIP a little