Add an option to automatically detect the external IP(v4)