refactored ScriptCVC