added detection of the running machine's interface