Improvements to scrolling scripts.

Vast improvements!