modify mac out file