mods to the threading, added scripts in prep for repository move