fixes to script-it seems to be running