add mac data loading script