Emac setup