moving psScramble to separate m-file