fixed runscript