In reply to ilia:
A first remark regarding your code example. Never use the constructor to create a scoreboard. You will not employ overriding.
There is no ‘best way’ to control the generation of certain components. It depends always on your coding and implementation guidelines.
If you do not have such restrictions I’d recommend to use variable in the component where you are instatantiating your scorboard. You can set this variable from y certain test using the config_db.