More and more evidence suggests that, yes, a lot of that work is done by mutations, but then the mutations in some cases actually make the cells more plastic, make them more able to read parts of the genome and use parts of the genome that that cell type isn't normally supposed to have access to.