rewrote running scripts to work with new directory structure