updated a few running scripts to fix efficency bugs