Gabriel Ivăncescu : msscript.ocx: Move set_script_state to the top.