Initialize repo directories for scripting use dynamically

Repos are just read from the directories and no longer need to be hardcoded in the scripts.