Converting to separate scripts.