fix runscript.