generation depends on site config