modify index and add mac dev file