updating foreach permtest and mod2 slides.
renaming scripts.