fixing runscript