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