Update __main__

corrected the way to get ip address