Moved definitions for mac address, etc to defines at the top, for easy access