redefined the default groups for scripts and fixed the compact fragments method