[Scripting][vm] Finished run script function.