Helper script for getting the mac address