minor fixes to runscripts