mac switch commit