[PATCH v3 6/9] vbscript: Use a helper function to init the script context.