Rewrite all atomic scripts for use with simple groups.