fix token to script_capture