changed ressource_groups.sh and fixed all things