switch from "crowbar autobuild" to "crowbar batch build"
avoid negative look-behind in regexps
remove trailing whitespace
extract #debug method
add some debug
don't wipe elements, just empty the role assignments