fix runscript