Updated run script. Looks like everything is working, i.e. no crashes, but the output could still have error.