Added code to get MAC addresses.