Cleanup and local versions of running scripts