Adding function to get internal IP