$keyword->setRoot($keyword);
             $keyword->setKeyWord('root');
             $em->persist($keyword);
         }
         $em->flush();
         $step = 5;
         $yamlParser = new \Symfony\Component\Yaml\Parser();
         $groups = $yamlParser->parse(file_get_contents(\BackBee\Standard\Application::getConfigurationDir() . 'groups.yml'));
         foreach ($groups as $groupName => $rights) {
             $group = new \BackBee\Security\Group();
             $group->setName($groupName);
             if (array_key_exists('description', $rights)) {
                 $group->setDescription($rights['description']);
                 unset($rights['description']);
             }
             $group->setSite($site);
             $em->persist($group);
             $em->flush($group);
             setSiteGroupRights($site, $group, $rights);
         }
     }
     $containerDumpDir = $application->getContainer()->getParameter('container.dump_directory');
     foreach (glob($containerDumpDir . DIRECTORY_SEPARATOR . '*') as $file) {
         if (is_file($file)) {
             unlink($file);
         }
     }
     break;
 case 1:
 default:
     $backbeeRequirements = new BackBeeRequirements();