Some more fixes to the supplemental groups scripting.