Add support for multiple groups with variable +groups0 (for first group +groups1 for second....) and +gs0 (same as before).